package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.sys.SysMenu;
import com.atguigu.spzx.model.vo.sys.SysMenuVO;

import java.util.List;
import java.util.Map;

public interface SysMenuService {
    List<SysMenu> listNestedMenus();

    void delete(Long id);

    void save(SysMenu sysMenu);

    void update(SysMenu sysMenu);

    SysMenu getById(Long id);

    Map<String, Object> listMenusAndAssignedMenuId(Long roleId);

    List<SysMenuVO> listUserMenu();

}
